Skip to content

Conversation

helenul
Copy link
Member

@helenul helenul commented Nov 22, 2026 •

Improves search, filtering and layout on Explore Plants, based on the feedback from the last delivery.

Search and filters

  • Example text in the search field ("e.g. maple or leaf")
  • Each filter value shows how many plants it would give, with the current search and other filters
  • "All" also shows its count: the plants with the search and the other filters, with nothing chosen in this filter
  • Values with 0 matches are disabled, so filtering can't end in an empty list. The chosen value is never disabled, so it can always be cleared. A search can still give no results.
  • Backend: explorePlants now returns filterCounts (new type ExplorePage). All counts are done in one $facet aggregation and use buildExploreFilter, so they always match the results.
  • Reset button moved into the filter row

Loading and accessibility

  • Previous results stay on screen (slightly dimmed) while new ones load, so the page no longer flickers
  • "No results found" is now announced by screen readers via the aria-live region

Layout

  • Compact plant cards are scaled to 70 % between 768 and 1359 px, so laptops get three columns on both Explore and My Matches
  • Less padding in the results box on both pages

Tests and documentation

  • Update relevant tests and documentation

@helenul helenul requested a review from a team as a code owner November 22, 2026 13:27
@helenul helenul linked an issue Nov 22, 2026 that may be closed by this pull request
10 tasks
Copy link
Member

@ninaflaa ninaflaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!! This was brilliant.

@helenul helenul merged commit 57f1bb6 into main Nov 22, 2026
0 of 4 checks passed
@helenul helenul deleted the 143-improve-filtering-and-layout-on-exploreplantspage branch November 22, 2026 14:26
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve filtering and layout on ExplorePlantsPage
2 participants